package com.moyu.data.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author makun
 * @since 2019-02-22
 */
@Data
@TableName("sys_permission")
public class SysPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 权限
     */
    private String permission;

    /**
     * 权限名
     */
    @TableField("permission_name")
    private String permissionName;

    /**
     * 父级id
     */
    private Long pid;
    /**
     * 权限描述
     */
    private String description;

    /**
     * 是否可见
     */
    private Boolean available;


}
